#include "qqmainwindow.h"
#include "ui_qqmainwindow.h"

QQMainWindow::QQMainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::QQMainWindow)
{
    ui->setupUi(this);
    chatFunctionWidget  *cfw= new chatFunctionWidget(ui->menuFunctionW);
    //    cfw->setParent(ui->menuFunctionW);
    ui->menuFunctionW->layout()->addWidget(cfw);

    ChatPanelWidget *cpw= new ChatPanelWidget(ui->panelW);
    ui->panelW->layout()->addWidget(cpw );


}

QQMainWindow::~QQMainWindow()
{
    delete ui;
}
